package cn.edu.scau.cmi.wujiaxian.exercise7;

public class China implements Computable{

	int MAX = 300;
	int number;
	
	@Override
	public int f(int x) {
		int sum = 0;
		for (int i = 1; i <= x; i++) {
			sum += i;
		}
		return sum;
	}
	
}
